<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib   prefix="c"  
			uri="http://java.sun.com/jsp/jstl/core"  %>
<%@ taglib   prefix="fmt"  
			uri="http://java.sun.com/jsp/jstl/fmt"  %>
<%@ taglib prefix="s"  uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ECU-Registrar Guia de Remision</title>
<style type="text/css">
<!--
.Estilo5 {font-size: 18px}
.Estilo8 {font-size: 16px; }
.Estilo9 {font-size: 18px; font-weight: bold; }
body {
	background-image: url(Imagenes/fondo.jpg);
	background-repeat: repeat;
	background-color: #FFFFFF;
}
.Estilo12 {font-size: 12px}
.Estilo13 {
	font-size: 24px;
	font-weight: bold;
}
-->
</style>
</head>

<body>
<table width="666" border="2" align="center" bordercolor="#6699FF">
  <tr>
    <td colspan="3"><table width="658" border="0">
      <tr>
        <td width="174"><img src="Imagenes/COURIER.jpg" width="174" height="194" /></td>
        <td width="296"><img src="Imagenes/Logo.png" width="296" height="199" /></td>
        <td width="174"><img src="Imagenes/asd.gif" width="186" height="199" /></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td height="59" colspan="3" bgcolor="#0099CC"><div align="center" class="Estilo13">REGISTRAR GUIA DE REMISI&Oacute;N </div></td>
  </tr>
  <tr>
    <td width="59" rowspan="6" bgcolor="#0099FF">&nbsp;</td>
    <td width="461" bgcolor="#0099CC"><table width="547" height="124" border="0">
      <tr>
        <td colspan="2" bgcolor="#0099CC"><span class="Estilo5">GUIA DE REMISI&Oacute;N </span></td>
        </tr>
      <s:form action="registrarGuiaRemision" method="post">
	     <s:textfield name="guiaremisionDTO.idguiaremision" label="Numero ID"/>
	     <s:textfield name="guiaremisionDTO.fechatraslado" label="Fecha Traslado"/>
	  </s:form>
    </table></td>
    <td width="54" rowspan="6" bgcolor="#0099CC">&nbsp;</td>
  </tr>
  <tr>
    <td height="118" bgcolor="#0099CC"><table width="550" height="140" border="0">
      <tr>
        <td colspan="3" bgcolor="#0099CC"><span class="Estilo5">TRANSPORTISTA</span></td>
        </tr>
     <s:form action="buscarTransportista" method="post">
       <s:textfield name="transportistaDTO.idtransportista" label="ID " />
       <s:textfield name="transportistaDTO.nombre" label="Nombres " />
       <s:textfield name="transportistaDTO.apellido" label="Apellido " />
       <s:textfield name="transportistaDTO.vehiculo" label="Licencia " />
      	<s:submit value="Buscar Transportista" />            
    <tr>
        <td colspan="2" bgcolor="#0099CC"><span class="Estilo5">VEH&Iacute;CULO</span></td>
    </tr>
      	<s:textfield name="transportistaDTO.vehiculo.numeroplaca" label="Numero de Placa" />
        <s:textfield name="transportistaDTO.vehiculo.constanciamt" label="Constancia de Inscrop. MTC" />
      </s:form>
   
    </table></td>
  </tr>
  <tr>
    <td height="124" bgcolor="#0099CC"><table width="555" height="192" border="0" bgcolor="#0099CC">
      <tr>
        <td width="323" height="42" bgcolor="#0099CC"><span class="Estilo5">ORDENES DE SERVICIO </span></td>
        <td width="219" bgcolor="#0099CC"><div align="left">
        
            <label>
              <input type="submit" name="Submit4" value="Buscar Ordenes de Servicio" />
              </label>
       
          </div></td>
      </tr>
      
      
	   	<thead>
	   		<tr>
	   		  <th width="62" bordercolor="#000000" bgcolor="#009999"><div align="center" class="Estilo9">Codigo</div></th>
              <th width="144" bordercolor="#000000" bgcolor="#009999"><div align="center" class="Estilo9">Remitente</div></th>
              <th width="103" bordercolor="#000000" bgcolor="#009999"><div align="center" class="Estilo9">Fecha</div></th>
              <th width="103" bordercolor="#000000" bgcolor="#009999"><div align="center" class="Estilo9">Destino  </div></th>
              <th width="104" bordercolor="#000000" bgcolor="#009999"><div align="center" class="Estilo9">Item</div></th>
       		</tr>
	   	</thead>
         <tbody>
			<s:iterator value="ordenServicio" status="buscarOrdenServicio">
				<tr bgcolor="<s:if test="#statusItem.odd == true ">#8AC5FF</s:if><s:else>#FFFFFF</s:else>">
					
					<td>
						<s:property value="idordenservicio" default=""/>
					</td>
					<td>
						<s:property value="origenordens"/>
					</td>
					<td>
						<s:property value="fechaordens"/>
					</td>
					<td>
						<s:property value="destinatario"/>
					</td>
					<td>
						<s:property value="cantidadmercaderia"/>
					</td>
				</tr>	
			</s:iterator>
		</tbody>
         
       
    </table></td>
  </tr>
  <tr>
    <td height="27" bgcolor="#0099CC"><table width="556" border="0">
      <tr>
        <td width="242"><div align="right">
         
            <label>
              <a href="Registrar_Guia_de_Remision.jsp" style="auto:10px; background: #CCCCCC; width:250px; text-align:center; font-family:arial; font-size:13px">Registrar Guia de Remision</a>
              </label>
         
          </div></td>
        <td width="304"><div align="center">
         
            <label>
              <input type="submit" name="Submit2" value="Salir" />
              </label>
       
          </div></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td bgcolor="#0099CC"><table width="554" border="0">
      <tr>
        <td bgcolor="#0099CC"><div align="center"><span class="Estilo12">COPYRIGHT&copy; 2012 - TRAINING SUMMER - DIS </span></div></td>
        </tr>
      
    </table></td>
  </tr>
</table>
<fieldset>

</fieldset>
</body>
</html>
